//
//  DZWeichatUserInfoModel.h
//
//  Created by   on 15/6/2
//  Copyright (c) 2015 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

/*
 {
 "openid" : "",
 "city" : "",
 "country" : "",
 "nickname" : "",
 "privilege" : [
 
 ],
 "headimgurl" : "",
 "language" : "",
 "unionid" : "",
 "sex" : 1,
 "province" : ""
 }
 
 */

@interface DZWeichatUserInfoModel : NSObject <NSCoding, NSCopying>

@property (nonatomic, strong) NSString *openid;
@property (nonatomic, strong) NSString *city;
@property (nonatomic, strong) NSString *country;
@property (nonatomic, strong) NSString *nickname;
@property (nonatomic, strong) NSArray *privilege;
@property (nonatomic, strong) NSString *language;
@property (nonatomic, strong) NSString *headimgurl;
@property (nonatomic, strong) NSString *unionid;
@property (nonatomic, assign) double sex;
@property (nonatomic, strong) NSString *province;

+ (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
- (instancetype)initWithDictionary:(NSDictionary *)dict;
- (NSDictionary *)dictionaryRepresentation;

@end
